package com.ebuy.shopping.mapper;

import java.util.List;

import com.ebuy.shopping.model.Order;

public interface OrderMapper
{
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    List<Order> selectList();

    List<Order> getOrders();

    Order getOrdersByUserId();
}